home *** CD-ROM | disk | FTP | other *** search
/ PC-SIG: World of Education / PC-SiG's World of Education.iso / run / 2602 / assignme.hlp < prev    next >
Encoding:
Text File  |  1989-03-03  |  1.3 KB  |  27 lines

  1. Assignment statements create temporary data files, in DAN's Data File
  2. format, whose size depends on the number of steps in the processing
  3. domain.  Such files can then be used in subsequent expressions and/or
  4. SAVEd for latter use in other algorithms.
  5.  
  6. For example, the following assignment statement creating TMPFILE
  7.  
  8.      TMPFILE = SIN(T) / T;
  9.  
  10. causes DAN to determine the value for SIN(T), determine the value for
  11. T, and divide the two values.  The final expression value and the
  12. current step value are stored in a file named TMPFILE.  This process
  13. goes on for each step value until the stop value is reached.  The
  14. temporary file TMPFILE then contains step values and the processed data
  15. value pairs; one for each point at which the expression is evaluated. 
  16. This file can then be used as a term in subsequent expressions.  For
  17. example,
  18.  
  19.       WHATSTHIS = 1.234 * X + 5.6789 * (LN(TMPFILE) * TMPFILE/2);
  20. +
  21. Thus an assignment statement is actually an instruction to create a
  22. file containing multiple pairs of processed data and corresponding
  23. independent variable values that you intend to use on the right side of
  24. the equal sign in some other assignment statement(s), as the file
  25. defining the X axis values for a plot, or in an expression that is the
  26. argument to some procedure call.
  27.